# -*- coding: utf-8 -*-
from __future__ import unicode_literals

from django.conf.urls import patterns, url

urlpatterns = patterns("related.views",
                       url("^saas/related_single/$", "related_single", name="related_single"),  # 单点关联
                       url("^saas/related_multi/$", "related_multi", name="related_multi"),  # 多点关联
                       url("^saas/related_node_check/$", "related_node_check", name="related_node_check"),  # 搜索时的节点验证

                       url("^saas/tupu_json/(?P<entid>.*)/$", "get_tupu_json", name="get_tupu_json"),  # 企业图谱画图所需的json数据，d3所需
                       url("^saas/tupu_basic/(?P<entid>.*)/$", "get_tupu_basic", name="get_tupu_basic"),  # 企业图谱画图所需的企业基础信息，d3所需
                       url("^saas/related_road/$", "company_road", name="company_road"),  # 企业路径图的html模块
                       url("^saas/related_road_json/$", "get_road_json", name="get_road_json"),  # 企业路径图所需的xml数据
                       url("^saas/single/$", "company_single", name="single"),  # 单点关联的html
                       url("^saas/single_json/$", "single_json", name="single_json"),  # 单点关联的html
                       )
